/**
 *  Copyright 2010 ShenYang voole Co. Ltd.
 *  All right reserved. 
 */
package com.dianning.service;

import java.util.List;

import com.dianning.bean.Reserve;
import com.dianning.bean.Visitor;
import com.dianning.exception.DianningException;

/**
 * 功能描述:委托操作接口
 *
 * 创建日期 Apr 10, 2010
 *
 * @author zhangbaochao
 *
 * @version 1.0
 *
 */
public interface ReserveService {
	/**
	 * 保存Recerve对象
	 * 
	 * @param recerve
	 * 			Recerve对象
	 * @return Recerve
	 * 			Recerve对象
	 */
	public Reserve saveReserve(Reserve reserve);
	
	/**
	 * 获取Recerve个数
	 * 
	 * @return int
	 * 			Recerve个数
	 */
	//public long getReserveNum(long infoId,int status);
	/**
	 * 获取Recerve列表
	 * 
	 * @param orderby
	 *            String
	 * @param ascOrDesc
	 *            int
	 * @return List
	 * 			Recerve对象列表
	 */
	//public List findReserves(long infoId,int status,String orderby, int ascOrDesc);
	/**
	 * 获取Recerve列表
	 * 
	 * @param orderby
	 *            String
	 * @param ascOrDesc
	 *            int
	 * @return List
	 * 			Recerve对象列表
	 */
	public List findReserves(long infoId,String type,int status,String orderby, int ascOrDesc);
}
